package cn.forward.pojo.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {

    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "账号不能为空")
    private String userName;
    @NotNull(message = "类型不能为空")
    private Integer type;

}
